Skip to content

Prepare Miden integration example for mainnet - #17

Open
Abhimanyu121 wants to merge 6 commits into
mainfrom
miden-mainnet-prep
Open

Abhimanyu121 wants to merge 6 commits into
mainfrom
miden-mainnet-prep

Conversation

@Abhimanyu121

@Abhimanyu121 Abhimanyu121 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • wire the Miden integration demo to Base USDC and mainnet USDCX
  • require public Miden accounts and canonical faucet identities
  • make note creation account-safe and retry submitted transactions without duplicate funded notes
  • use a local Miden RPC default instead of reading the Pragma oracle graph record
  • pin Commons to the revision without oracle metadata (epochprotocol/epoch-commons-sdk#21)

Verification

  • 15 tests passed
  • pnpm typecheck passed
  • pnpm build passed
  • frozen pnpm install passed with the new Commons revision

The pre-commit lint-staged command treats the existing test file as an ESLint warning because it has no matching ESLint config. Formatting and ESLint for the production source were checked directly before commit.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
miden-integration-example Error Error Oct 25, 2026 6:05am UTC

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

React Doctor found 2 new issues in 1 file · 2 warnings · score 83 / 100 (Needs work) · 0 fixed · vs main

2 warnings

src/components/crosschain/IntentForm.tsx

  • ⚠️ L55 Large component is hard to read and change no-giant-component
  • ⚠️ L111 State adjusted after a prop changes no-adjust-state-on-prop-change

Reviewed by React Doctor for commit f97619a. See inline comments for fixes.


useEffect(() => {
if (previousMidenAccountId.current !== midenAccountId) {
setLocalMidenNote(undefined);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-adjust-state-on-prop-change (warning)

This effect adjusts state after a prop changes, so users briefly see the stale value.

Fix → Remove the adjustment effect by deriving values during render, resetting the component with a key, or updating related state in the event that changes the prop. Avoid tracking the previous prop in more state, which preserves the duplication. See https://react.dev/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes

Docs

This branch had an error being deployed

1 failed deployment
Preview — f97619a9 Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants